		<?php
		   
			echo "<table>";
			$data_user = new cls_user ();
			//echo "<tr><td><img src='files_users/defprof.jpg'> </td></tr>";
			if(($var=$data_user->getImageProfile($user_id))!=-1){
			echo "tiene que mostrar imagen".$var;
			while($mostrar = mysql_fetch_array($var)){
			$image_name=$mostrar['image_name'];
			$image_id=$mostrar['image_id'];
			echo "<tr>";
			echo "<td bgcolor='black'><a href='profileUser.php?user_id=$reg[user_id]'>";
			echo "<img src='getImages.php?image_id=$image_id' WIDTH=50 HEIGHT=50></a>";
			echo "</td>";
			echo "</tr>";
			}mysql_free_result($var);
			}
			else{
			echo "<tr>";
			echo "tiene que mostrar imagen";
			echo "<a href='profileUser.php?user_id=$reg[user_id]'>";
			echo "<td><img src='files_users/defprof.jpg'></a>";
			echo "</td>";
			echo "</tr>";
			}
			echo"</table>";
				?>